

package cn.shengchao.examstar.me.address.acl.ports.repositories;

import cn.shengchao.examstar.me.address.domain.Address;

import java.util.List;

public interface IAddressRepository {
    Address save(Address address);

    List<Address> getList(Long userId);

    void updateDefaultAddress(Address address, boolean isDefault);
}
